package com.crs.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.crs.bean.MaintenanceDetails;
import com.crs.dao.IMaintenanceDetailsDao;
import com.crs.service.IMaintenanceDetailsService;
import com.crs.util.Page;

@Service
public class MaintenanceDetailsServiceImpl implements IMaintenanceDetailsService{

	@Autowired
	IMaintenanceDetailsDao dao;
	public List<MaintenanceDetails> getMaintenanceDetails(MaintenanceDetails maintenance, Page page) {
		return dao.getMaintenanceDetails(maintenance,page);
	}

	public int getCount(MaintenanceDetails maintenance) {
		return dao.getCount(maintenance);
	}

	public List<MaintenanceDetails> selectMaintenanceDetailsAll() {
		return dao.selectMaintenanceDetailsAll();
	}

}
